package com.runa.rccprotocol.dto.equdata;

import java.util.Date;

/**
 * 温度采集器数据
 */
public class TemperatureCollectorData extends EquData {

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public static class MeasurePoint{

        public int id;

        public float temperature;

        public int counter;

        public byte status;

        public MeasurePoint(int id, float temperature, int counter, byte status) {
            this.id = id;
            this.temperature = temperature;
            this.counter = counter;
            this.status = status;
        }

    }

    private Date date;

    private MeasurePoint[] measurePoints = new MeasurePoint[6];

    public MeasurePoint[] getMeasurePoints() {
        return measurePoints;
    }

    public void setMeasurePoints(MeasurePoint[] measurePoints) {
        this.measurePoints = measurePoints;
    }

}
